package com.gdut.huayan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdut.huayan.entity.dto.PageQuery;
import com.gdut.huayan.entity.po.Activity;
import com.gdut.huayan.entity.po.LimitName;
import com.gdut.huayan.entity.vo.ActivityVo;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ActivityService extends IService<Activity> {

    PageInfo<ActivityVo> getPage(PageQuery pageQuery,Integer isSuiXi);

    List<Activity> getFestivalLocationActivity(Long festivalId, Long locationId);

    void save(ActivityVo activityVo);

    void deleteLimitName(Long limitNameId);

    void updateLimitName(List<LimitName> limitName);

    void addLimitName(List<LimitName> limitName);
}
